package main

import "fmt"

func (i int) Foo() string { // 编译器报错：cannot define new methods on non-local type int
	return fmt.Sprintf("%d", i)
}
